//
//  OrderModel.m
//  DingDongXiChe
//
//  Created by wtjr on 2018/1/9.
//  Copyright © 2018年 xieyingze. All rights reserved.
//

#import "OrderModel.h"

@implementation OrderModel

- (instancetype)initWithDicationary:(NSDictionary *)dic {
    self = [super init];
    if (self) {
        _order_packageName = dic[@"order_packageName"];
        _order_packageDuration = [dic[@"order_packageDuration"] integerValue];
        _order_serviceTime = dic[@"order_serviceTime"];
        _order_contact = dic[@"order_phone"];
        _order_carType = dic[@"order_carType"];
        _order_number = dic[@"order_number"];
        _order_packagePrice = [dic[@"order_packagePrice"] floatValue];
        _order_coupon = dic[@"order_coupon"];
    }
    return self;
}

@end
